package com.jzo2o.customer.controller.open;

import com.jzo2o.customer.model.dto.request.InstitutionRegisterReqDTO;
import com.jzo2o.customer.service.IServeProviderService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author:篍
 * @Date: 2025/09/16 19:59
 * @Description:
 */
@RestController
@RequestMapping("/serve-provider")
@ApiOperation("服务提供者 - 机构相关接口")
public class ServeProviderController {

    @Resource
    private IServeProviderService serveProviderService;

    @PostMapping("/institution/register")
    @ApiOperation("机构注册接口")
    public void register(@RequestBody InstitutionRegisterReqDTO institutionRegisterReqDTO) {
        serveProviderService.register(institutionRegisterReqDTO);
    }


}
